<?php
  header("Content-Type: text/json; charset=UTF-8");
  $name = $_GET['name'];//接收变量
  $str = @file_get_contents('./set/dicdownload.json');//读取本地json
  $str = json_decode($str,true);
  $str = $str[$name];
  $str = json_encode($str,JSON_UNESCAPED_UNICODE);
$str = str_replace("\\/", "/", $str);
  echo ($str);
?>